GSMBE growth on patterned substrates for optoelectronic devices