Identification of psychiatric-disorder subtypes from functional-connectivity patterns in resting-state electroencephalography