Finite permutation groups containing a regular dihedral subgroup