San Francisco mayor Gavin Newsom to run for governor of California