what causes flaky scalp and hair loss