David Lammy says Britain is ‘open’ to joint financing of military spending to boost continent’s security