Depth dependence of the radiative lifetime of shallow color centers in single crystalline diamond