what types of force can a magnet exert on another magnet?