Velocity field computation in vibrated granular media using an optical flow based multiscale image analysis method