Direct Phasing in Crystallography: Fundamentals and Applications