Structure and magnetic properties of UFe10Si2 and UFe10Mo2