The PAU Survey: The quasar Ly-α and UV luminosity functions at 2.7 < z < 5.3