Children were abused for decades in Catholic homes, Scottish inquiry finds