China stocks rally on US-Iran deal optimism, Shanghai gains 0.2%