Local atom-number fluctuations in quantum gases at finite temperature