Observation of large-scale anisotropy in the arrival directions of cosmic rays with LHAASO