Varanasi court grants permission for ASI survey at Gyanvapi mosque