Errors in the measurement of voltage-activated ion channels in cell-attached patch-clamp recordings