Search for the critical point and the onset of deconfinement