Understanding Eunice Foote's 1856 experiments: Heat absorption by atmospheric gases