Four soldiers and one police officer have been killed in two attacks on military outposts in northern Burkina Faso, the Burkinabe army said on Saturday.