Pain assessment and management in critically ill intubated patients: a retrospective study