Bill Cosby freed from prison as sexual assault case overturned by US court