Electromagnetic nuclear shielding tensors and their relation to other second-order properties. A study of the ammonia molecule