Optical Cooling of the Nuclear Spin System in a Semiconductor