Shock breakout in Type Ibc supernovae and application to GRB 060218/SN 2006aj