Constraints on the star formation efficiency of galaxies during the epoch of reionization