The influence of patient characteristics on the requirements for postoperative analgesia