Rotation curves and mass distributions in flat self-gravitating disks