2D-Photonic crystal heterostructures for the realization of compact photonic devices