In vivo and in vitro testing of microelectronically fabricated planar sensors designed for applications in cardiology