Detail Restoration and Tone Mapping Networks for X-ray Security Inspection