Excitation of giant Gamow-Teller resonances in the reaction 140Ce(p, n)140Pr