Two vital bridges in rural Northumberland that had reached the end of their working lives have been successfully replaced.