Atomically resolved interlayer electronic states in complex oxides by using cross-sectional scanning tunneling microscopy