How a neutral evolutionary ratchet can build cellular complexity