High resolution wavelength dispersive X-ray spectroscopy for ECR plasma diagnostics