Epitaxial growth and layer-transfer techniques for heterogeneous integration of materials for electronic and photonic devices