First-principles study of shear behavior of Al, TiN, and coherent Al/TiN interfaces