Structural, spectral, thermal and nonlinear optical analysis of potassium tartrate hemihydrate crystal