Tata Motors, Castrol ink three-year global pact