Measuring information-based energy and temperature of literary texts