Capacitated Network Revenue Management through Shadow Pricing