X-ray diffraction characterization of suspended structures for MEMS applications