First cohomology of Anosov actions of higher rank abelian groups and applications to rigidity