Spinor-orbital functionals and the optimized effective potential method