Respiratory mechanics and patient effort in mechanical ventilation