A warning has been issued over reports of fraudsters posing as police officers targeting people in South Yorkshire.