Two men who impersonated police officers to defraud members of the public have been convicted of their crimes and will be sentenced early next year.