Police: Homeless man fatally shot in head