Seol mar théacs é seo: Phase transitions and optical properties of the trigonal perovskite (CH3NH3)2TeCl6