Preoperative psychological distress and functional outcome after knee replacement