Robust nonlinear controller design for optimized battery performance in the photovoltaic-battery tied hybrid system using sliding mode control