Counterpropagating Spatial Solitons in Reflection Gratings with Longitudinally Modulated Kerr Nonlinearity