Two-dimensional solitons in periodically modulated double-well potentials