Comedian Andy Dick sentenced to 90 days in jail, must register as sex offender