Absolute luminosity measurements with the LHCb detector at the LHC