Police officers may have acted as “super-spreaders” in the pandemic as expert advice was “ignored” by the Scottish Government and the ex-chief constable of Police Scotland, an inquiry heard.