Bendable 3D-structured x-ray photodetectors based on pure PbI2 single crystal