On a generalization of median graphs : k-median graphs