Surface contact behavior of an arbitrarily oriented graded substrate with a spatially varying friction coefficient