SC transfers Gyanvapi mosque case to district judge