Phase-field simulations of the interaction between a grain boundary and an evolving second-phase particle