New depth-profiling method by angular-dependent x-ray photoelectron spectroscopy