Global military spending hits ‘all-time high’ of $2.4 trillion