Learning Quality-aware Dynamic Memory for Video Object Segmentation