Ranbaxy spins off R&D unit