Rigel posts 2Q net income on AstraZeneca payment