G7 commits to 'whatever is necessary' to fight COVID-19