Stress analysis of structural bonded joints