The Effect of Pressure on the Metal-to-Insulator Transition in V2O4 and V2O3