A systematic evolution of optical band gap and local ordering in Ge1Sb2Te4 and Ge2Sb2Te5 materials revealed by in situ optical spectroscopy