Advances in ab initio thermodynamic studies on metal/oxide interfaces