High living costs are having a ripple effect on families, with many grandparents financially supporting their children and grandchildren, according to a new study.