Numerical investigation on transient natural convection in vertical channels with heated and cooled walls