Modified plasmonic response of dimer nanoantennas with nonlocal effects: From near-field enhancement to optical force