Failure mechanism and damage evolution in flexible electronics under axial and twist strains