Modelling Three-Phase Mushy Layers, With Applications To Air Bubbles And Oil Droplets In Sea Ice