Collisionless Shocks in Space Plasmas: Structure and Accelerated Particles