How routines afford and constrain the generation and incorporation of novelty