Innovation and Distribution: A General Equilibrium Model of Manufacturing and Retailing