Berger's inequality for Einstein manifolds