Determination and compensation of series resistances during whole-cell patch-clamp recordings using an active bridge circuit and the phase-sensitive technique