Converts from any base to any other base.