Thermal spin injection from a ferromagnet into graphene by transverse and longitudinal current