Mood disorders are a class of disorders marked by: