Ergodicity, configurational entropy and free energy in pigment solutions and plant photosystems : influence of excited state lifetime