Ensure that Integer and Float objects only contain integers and floats.

This isn't an issue in RPython (which is statically typed), but it's
useful when running in CPython.