Accelerated forward-backward and Douglas-Rachford splitting dynamics