Sydney councils pay investigators to have sex with prostitutes