Near-zero-waste processing of low-grade, complex primary ores and secondary raw materials in Europe: technology development trends