Joint Beamforming and Phase Shift Design for RIS-Aided ISAC System