A one-dimensional photochemical model of the troposphere with planetary boundary-layer parameterization