Influence of soft encapsulation on the wireless power transfer for bioelectronic medicine