Green’s function of bimaterials comprising all cases of material degeneracy