Phase transition of charged-AdS black holes and quasinormal modes: A time domain analysis