why was the statue of liberty given to the us as a gift from france