Police have issued a warning to Hertfordshire residents after a spate of scam calls from fraudsters posing as officers.