Spiral and irregular galaxies in the Hubble Deep Field North. Comparison with early types and implications for the global SFR density