Impacts of thickness reduction and heat treatment on the optical properties of thin chalcogenide films