Thermal convection in octagonal-shaped enclosures