Simulation, design and proof-of-concept of a two-stage continuous hydrothermal flow synthesis reactor for synthesis of functionalized nano-sized inorganic composite materials