Determination of the limit of photon mass and cosmic magnetic vector with rotating torsion balance