The physics of crystals