Magnetism and specific heat of UIrGa5 and UPdGa5