A police officer was killed and five more were wounded in three separate shootings in Florida and Pennsylvania.