X-Rays from Laser Plasmas: Generation and Applications