Scottish free ports could be short-changed by ‘unfair’ Westminster funding formula