Sliding member and method for producing same