X-ray Diffraction: Its Theory and Applications