Global military spending hits $1.2 trillion -study