Lattice and Heegaard-Floer homologies of algebraic links