Method for spike detection from microelectrode array recordings contaminated by artifacts of simultaneous two-photon imaging