Memoize instances of IntegerType and FloatingPointType.

Originally, I was going to make these enums, but a Java enum can't inherit from an abstract class like AbstractType, so instead of reimplementing a bunch of stubs, I just memoized the instances into a couple of constants.