2 dead, police officer injured after homicide and shooting