Ethiopia has written to the UN, accusing Eritrea of "funding, mobilizing and directing armed groups" on its soil.