Recognizing Cobithreshold Graphs in Linear Time