Taliban attack on Afghan hotel ends after 13 hours, 18 dead