Damage detection using self-sensing composites