Class alliance and class fractions in Ghanaian trading and state formation