Understanding the mechanical strength of microcapsules and their adhesion on fabric surfaces