Giants land big-name free agent they badly needed