Onset of Convection in a Layer of Water Formed by Melting Ice from Below