Elements of X-ray crystallography