Unidirectional magnetic gradiometers