On the nature of metal-semiconductor phase transition in vanadium dioxide