Magnetic-field induced type I to type II transition in multiple quantum well samples