Continuous-flow hydrothermal and solvothermal synthesis of inorganic nanomaterials