Evolution of magnetic flux ropes associated with flux transfer events and interplanetary magnetic clouds