Mesoporous TiO2 nanocrystals grown in situ on graphene aerogels for high photocatalysis and lithium-ion batteries.