Fast high resolution gaseous detectors for diffraction experiments and imaging at synchrotron radiation beam