Semiclassical theory of the quasi–two-dimensional trapped Bose gas