A Nigerian air force jet has accidentally killed and injured many civilians in Rann, in the north-east of the country, the military has said. International aid agency MSF says at least 50 people have been killed and more than 100 injured in the incident.