Evolution of cooperation under the coexistence of imitation and aspiration dynamics in structured populations