G7 leaders discuss Ukraine, climate change and the threat from radical extremism at Germany summit