German police have said that they have arrested Catalonia's former president Carles Puigdemont