Ramirez homers for Marlins in loss to Twins