UK retailers must raise prices if they wish to continue to stock Scottish produce, the head of the Scottish farmers union has said.