Struggling Greece to spend billions on military upgrade