Abhay Deol took Tamil lessons on ‘Shanghai’ sets