New York Mets, Max Scherzer agree to three-year, $130 million contract