The Beam Conditions Monitor of the LHCb Experiment