Effect of pulsed electromagnetic field therapy in patients undergoing total knee arthroplasty: a randomised controlled trial