how to restore damaged hair from a perm