Optical, automatic analysis and measurement apparatus