Histogram1d: add method to get first data element

This is really useful to introspect the type of data counted by the
histogram. Without it, there is no way of knowing at runtime what the
actual T of the histogram is.