Dual symmetry and the vacuum energy