Chemically specific termination control of oxide interfaces via layer-by-layer mean inner potential engineering