Energy transfer in collisions of argon with highly excited water and methane