Whitman criticized for opposing high-speed rail