On the dimension of Bernoulli convolutions