SF Police say Paul Pelosi and the attacker were both holding hammers