Density operator description of excitons in molecular aggregates: Optical absorption and motion. I. The dimer problem