Vortex lattices in Bose-Einstein condensates: from the Thomas-Fermi to the lowest Landau level regime