Two lynx which were illegally released in the Scottish Highlands have been successfully captured – with experts warning the creatures could have died if they had remained in the wild.