Implantable autonomous device for wireless force measurement in total knee prosthesis