Statistics for Molecular Rectification: Application in Dye-Sensitized Solar Cells