G7 vows action on Covid vaccines, climate change