rights and duties of a us permanent resident