Real submanifolds with degenerate Levi form