Basic Principles of Powder X-ray Diffraction