Metal–insulator transition in an one-dimensional half-filled interacting mesoscopic ring with spinless fermions: Exact results