Spain is considering imposing a quarantine on British travellers when it reopens its borders next week, in response to a similar policy at London’s end, its foreign minister said.