France 'captures Somali pirates'