On curves with a theta-characteristic whose space of sections has dimension 4