Photometric characterization of the Dark Energy Camera