Police spies infiltrated UK leftwing groups for decades