Three-dimensional natural heat convection and ternary alloy solidification problems by finite volume geometric multigrid method