An introduction to the theory of diffusive shock acceleration of energetic particles in tenuous plasmas