Band offsets for mismatched interfaces: The special case of ZnO on CdTe (001)