Processes of waving, straightening or curling hair