Wedding photographer pistol-whipped in front of newlyweds in San Francisco