Galaxy morphology to I = 25 mag in the Hubble Deep Field