High-redshift galaxies in the Hubble Deep Field: colour selection and star formation history to z   4 | Synapse