Dust coagulation and fragmentation in molecular clouds. I. How collisions between dust aggregates alter the dust size distribution