The war will cut growth and push up living costs globally, the World Bank tells the BBC.