Counting and integrating readout for direct conversion X-ray imaging concept, realization and first prototype measurements