Spanish prime minister backs progress in Brexit talks