Effects of phase shift, noise and imprecise breath detection on the estimation of pulmonary mechanics in mechanically ventilated patients