A unifying characterization of tree-based networks and orchard networks using cherry covers