Input-output connections between sectors and optimal monetary policy