US funding helps Cyprus upgrade military bases for its role as a regional safe haven