Influence of shell effects and stable octupole deformation on the E1 and E2 transition rates in the heavy-Ba region.