On hyperplane sections of K3 surfaces