Infrared photometry of comets Bowell and P/Stephan-Oterma