what makes hair curly or straight