Application of the R-matrix method to photoionization of molecules.