Periodic orbits for real planar polynomial vectors fields of degree n having n invariant straight lines taking into account their multiplicities