The structure of frozen phases in slit nanopores: A grand canonical Monte Carlo study