Granderson hits 3 homers, Yankees beat Twins 7-6