Gravar-mail: A semi-analytical approach for the characterization of ordered 3D nanostructures using grazing-incidence X-ray fluorescence