Repair of single-stranded DNA nicks, gaps, and loops in mammalian cells