The evolution of submillimetre galaxies : two populations and a redshift cut-off