Spy chief warns ‘we could be in for some difficult times’ as wars around the world continue to spread, overlap and edge ‘ever closer to home’