The police chief in Bend, Ore. and other officials named two of the victims and the gunman in Thursday’s shooting, and said they were still early in their inquiry into a motive.