Evolution of long-period, white-dwarf binaries: application to GRO J1744-28 and type Ia supernovae