Quantum teleportation with independent sources and prior entanglement distribution over a network