DFT modelling of ceramic materials and interfaces