Theoretical investigations in nuclear optical model with special reference to antiproton nucleus and nucleus-nucleus scatterings