Surface chemistry of solid and liquid interfaces