Spanish premier in quarantine as Macron contracts virus