A sol–gel biotemplating route with cellulose nanocrystals to design a photocatalyst for improving hydrogen generation