A generalized Maugis-Dugdale solution for adhesion of power-law graded elastic materials