Mechanism of cos DNA cleavage by bacteriophage λ terminase: Multiple roles of ATP