The structure of two-layered objects reconstructed using EDXRF-analysis and internal X-ray ratios