Measurement of dielectric function and bandgap of germanium telluride using monochromated electron energy-loss spectroscopy.