The origins of evolutionary innovation