Cosby leaves jail as conviction overturned