Magnetic structures of dysprosium oxysulfide and dysprosium oxyselenide