Adaptive shape functions and internal mesh adaptation for modeling progressive failure in adhesively bonded joints