What is the role of the enzyme DNA ligase in DNA replication?