Magnetic proximity fuze