Flow visualization during solid-liquid phase change heat transfer I. Freezing in a rectangular cavity