Exact solutions of the Schrodinger equation in D-dimensions for the pseudoharmonic potential plus ring-shaped potential