Production of tagged gammas using a thin internal synchrotron target