Development of crops resistant to herbicides