Objective Quality Assessment and Optimization for High Dynamic Range Image Tone Mapping