Long-distance quantum communication with quantum repeaters