Editors react angrily to police warning that publishing leaked diplomatic emails may be “criminal”.