Dozens of people in Afghanistan and Pakistan were killed after heavy snow and avalanches hit over the weekend.