Phase coexistence in the metal–insulator transition of a VO2 thin film