The chromospheric emission of solar-type stars in the young open clusters IC 2391 and IC 2602