Magnetometar