Peculiarities of phase transitions in nanosized vanadium dioxide: Magnetic characteristics