Thailand's pro-democracy parties unite to claim right to govern