Effect of electron correlation and shape resonance on photoionization from the S1 and S2 states of pyrazine.