Realization of three-dimensionally confined structures via one-step in situ molecular beam epitaxy on appropriately patterned GaAs(111)B and GaAs(001)