Catalonia's president Carles Puigdemont has turned himself in to Belgian police.