Pre-operative and post-operative effect of a pain management programme prior to total hip replacement: a randomized controlled trial