Tuning of the Surface-Exposing and Photocatalytic Activity for AgX (X = Cl and Br): A Theoretical Study