Supernovae and their host galaxies – V. The vertical distribution of supernovae in disc galaxies