The complex momentum representation approach and its application to low-lying resonances in 17O and 29,31F Journal January, 2023