Coupling halide perovskites with different materials: From doping to nanocomposites, beyond photovoltaics