A unified approach for exactly solvable potentials in quantum mechanics using shift operators