Density-functional theory with optimized effective potential and self-interaction correction for ground states and autoionizing resonances | Synapse