Afghanistan judge whips man for drinking alcohol