Palaeozoic landscapes shaped by plant evolution