Galvanically Coupled Intrabody Communications for Medical Implants: A Unified Analytic Model