Magnetic order and magnetic history effects in ThCo5xNi5–5x