New research uncovers a way to identify different types of depression