Ab initio study on influence of dopants on crystalline and amorphous Ge2Sb2Te5