Laboratory implementation of edge illumination X-ray phase-contrast imaging with energy-resolved detectors