COSMOLOGICAL CONSTRAINT ON BRANS-DICKE THEORY