Configuration of the amide bond in N-acylindolines and N-acyltetrahydroquinolines