Spanish primary schools to teach lessons on military