Observation of Structural and Conductance Transition of Rotaxane Molecules at a Submolecular Scale