Calculations of cell transmembrane voltage induced by time-varying magnetic fields