Novel technique for injecting and extracting beams in a circular hadron accelerator without using septum magnets