Celtic have written to the Scottish Football Association about the refereeing of their Scottish Cup semi-final defeat by Inverness CT.