Near-infrared and Optical Observations of Type Ic SN 2020oi and Broad-lined Type Ic SN 2020bvc: Carbon Monoxide, Dust, and High-velocity Supernova Ejecta