The Syntax and Semantics ofQuantitative Type Theory