Period doubling and merging of multiple dissipative-soliton-resonance pulses in a fiber laser.