Bernstein Inequality for Empirical Averages