Both Centre & states have power to legislate on GST: Supreme Court