Dozens of troops and Islamist militants have been killed in clashes in eastern Yemen, Yemeni security sources say.