Distributed MAC and Rate Adaptation for Ultrasonically Networked Implantable Sensors