Transition from the integer quantum Hall state to the insulator state