Role of interfaces on the stability and electrical properties of Ge2Sb2Te5 crystalline structures