Projective schemes with degenerate general hyperplane sections