Evaluation of the diaphragmatic myopathy onset time among mechanically ventilated patients