Onset of swell-induced surface instability of hydrogel layers with depth-wise graded material properties