People who have experienced psychological distress in childhood have a higher risk of heart disease and diabetes, according to a recent study.