Method of transmitting power and data across a galvanic isolation barrier, corresponding system and apparatus