Morphology of low-redshift compact galaxy clusters – I. Shapes and radial profiles