Structure determination by use of pattern decomposition and the Rietveld method on synchrotron X-ray and neutron powder data; the structures of Al2Y4O9and T2O4