The number of drone incidents near military bases in the UK has doubled in the last year, figures obtained by the BBC show.