Fe K emission from active galaxies in the COSMOS field