what is the purpose of foils when dying hair salon what is