At least 25 undercover police officers were found to have deceived women into long-term intimate sexual relationships by faking their identities to spy on their social groups.