On rings over which every finitely generated module is a direct sum of cyclic modules