Greens to take two seats in QLD parliament