L(j, k)-Labelings and L(j, k)-Edge-Labelings of Graphs