Freezing of Simple Fluids within carbon and silica nanotubes: a combined experimental and simulation approach