San Francisco transit to modernize fare payment system