Independent constraints on cosmological and astrophysical parameters using UV luminosity functions at z~6