Spain military takes over air traffic control