Thermofluctuation theory of strength and the Griffith criterion