Indian shares close higher, shrugging off weakness in Asia, Europe