A frequency control method for regulating wireless power to implantable devices