On the behavior of bonded joints in composite material structures