G7 works on vaccine plan after pleas to help poor