Gunman kills 6, then self, authorities say