Optical pickup with a hologram to limit the aperture of two light beams with different wavelengths