Cells and electropulsation microchambers modeling for linear and nonlinear optical microspectroscopy