Calculations of electric field gradients in solids: How theory can complement experiment