A police officer was caught on camera using his mobile phone