A general solution for the two-dimensional stress analysis of balanced and unbalanced adhesively bonded joints