First-principles Investigation on the Structural, Electronic, Mechanical and Optical Properties of Silver based Perovskite AgXCl3 (X= Ca, Sr)