The bordered Heegaard Floer homology of link complements