Mechanics of sintering thin films — II. Cracking due to self-stress