Photon orbits and thermodynamic phase transition of regular AdS black holes