Theory of nuclear electric shielding in molecules