Tata Motors plans to raise Rs 500 cr via NCDs