France has announced its intention to set up "hot spots" in Libya to process refugee claims and help deter people from attempting the treacherous journey across the Mediterranean.