HEISENBERG GROUPS THETA FUNCTIONS AND THE WEIL REPRESENTATION