Random walks on the generalized Vicsek fractal