Microscopic theory of optical absorption in graphene enhanced by lattices of plasmonic nanoparticles