Structural transitions during the cooperative assembly of baculovirus single-stranded DNA-binding protein on ssDNA