First-Principles Study of Ceramic Interfaces: Structures and Electronic and Mechanical Properties