Squaraine-based organic photodetector coupled to a scintillating crystal for X-ray sensing applications