A new report claims private equity-backed foster agencies in Scotland are using legal loopholes to divert millions in public money.