Design and analysis of communication protocols for quantum repeater networks