The impact of mental retardation on family functioning