NSW upper house passes coronavirus bills