Use CypherException for unexpected types in toInt, toFloat

For other kinds of errors, such as invalid strings, a standard IllegalArgumentException
will be thrown and Cypher will wrap it around in a CypherException as a cause.