Community differentiation on landscapes: drift, migration and speciation