The use of X-ray diffraction, microscopy, and magnetic measurements for analysing microstructural features of a duplex stainless steel