Sydney school teacher admits sex with boy