Dense matter in the skyrme model