A statistical study of frictional wind veering in the planetary boundary layer