The Prince and Princess of Wales have visited the Natural History Museum in London on their first official engagement since the summer.