Police officer caught on camera having sex on duty