Add Dataset.dtype property

Also part of issue #16.