UV and Ly-alpha luminosity functions of galaxies and star formation rate density at the end of HI reionization from the VIMOS UltraDeep Survey (VUDS)