Thermodynamic constraints on fluctuation phenomena