Estimation of patient's inspiratory effort from the electrical activity of the diaphragm