Abelian surfaces over finite fields with prescribed groups