Techniques for transmitting data in an implantable medical device