A nanomesh electrode for self-driven perovskite photodetectors with tunable asymmetric Schottky junctions.