Homogeneous cosmologies with a cosmological constant