Multivariate nonparametric estimation of the Pickands dependence function using Bernstein polynomials