Theory of optical properties of graphene quantum dots