An analysis of the impact of LHC Run I proton–lead data on nuclear parton densities