A template subtraction method for the removal of cardiogenic oscillations on esophageal pressure signals