Controlled type-I-type-II transition in GaAs/AlAs/AlxGa1-xAs double-barrier quantum wells