Contact mechanics of two deformable elastic solids with graded coatings