Bill Cosby's sexual assault case ends in a mistrial