Explosion at Afghan mosque kills at least 47 people in Herat