Numerical simulation of a magnetic corrosion detector for corrosion detection of steel rebar in concrete