Stochastic analysis of Bernoulli processes