Effects of surface structure and solvophilicity on the crystallization of confined liquids