Jack sometimes experiences periods of boundless but unfocused energy, and then at other times he loses interest in life and experiences profound sadness. Jack is exhibiting the symptoms of_____