HDR or SDR? A Subjective and Objective Study of Scaled and Compressed Videos