The dynamics and structure of the S0 galaxy NGC 7332