Convergence of orthogonal series