A model for the optical properties of paper. I: The theory