Twenty-two provinces in Afghanistan have been blanketed by days of heavy snowfall, triggering avalanches, destroying buildings and leaving many trapped in their snowbound homes.