O-RAN for Future-Generation Wireless Communication and Sensing