Thermo-optical response of layered group-V transition metal dichalcogenides