Technological Growth and Hours in the Long Run: Theory and Evidence