Dundee come from behind twice to snatch draw with United in thrilling derby