Diagonal or mixed-flow compressors