Lead-free metal-halide double perovskites: from optoelectronic properties to applications