When a submarine pumps water out of its floatation tanks, its density decreases and it floats. Why does its density decrease?