Mesoporous NiO nanoarchitectures for electrochemical energy storage: influence of size, porosity, and morphology