High resolution gamma ray spectroscopy at MHz counting rates with LaBr3 scintillators