Magnetotropicity of phosphole and its arsenic analogue