Computation of the luminance and pattern components of the bar pattern electroretinogram