Large-deviation analysis of multiplicity fluctuations