What specific benefits might a small, landlocked country gain by forming a military and economic alliance with a larger country on a nearby coast