Thomas Newcomen: the prehistory of the steam engine