Effects of enclosure geometry and thermal boundary condition on Rayleigh-Bénard convection of cold water near its maximum density