A thin and flexible scanner for fingerprints and documents based on metal halide perovskites