role of nutrients in hair