Photometric redshifts for gamma-ray burst afterglows from GROND and Swift/UVOT