Climate fluctuations and trajectories to complexity in the Neolithic: towards a theory