Mediterranean Storm Daniel has caused catastrophic flooding in Libya with more than 5,000 presumed dead.