Optimal operators for Hartree-Fock exchange from long-range corrected hybrid density functionals