Temperature variation of optical absorption edge in Sn2P2S6 and SnP2S6 crystals