A microscope slide from Charles Darwin's HMS Beagle voyage has sold at auction for three times its estimate - after being found in a cardboard box.