A theory of particle deposition in turbulent pipe flow