Man convicted of sex offenses