Coupled atomistic-mesoscopic model of polycrystalline plasticity