Philosophy of thermal and statistical physics