Stratocumulus processing of gases and cloud condensation nuclei: 1. Trajectory ensemble model