Researchers finally discovered the cause of gray hair, study finds