Four dead, three police hurt in Pennsylvania shootings