The high dynamic range pixel array detector (HDR-PAD): Concept and design