NMR line shifts caused by the second-order quadrupolar interaction