A study of an expanding interplanetary magnetic cloud and its interaction with the Earth's magnetosphere: The interplanetary aspect