Structural complexity and configurational entropy of crystals.