Synthesis of new benzofuro and indolobenzoazepin‐6‐ones