Ukraine must be allowed to defend itself against Russia and continue on a path to join the EU, German Chancellor Olaf Scholz says, following an emergency meeting of European leaders.