A time-dependent numerical model of transmembrane voltage inducement and electroporation of irregularly shaped cells