Strain-induced tunable optoelectronic properties of inorganic halide perovskites APbCl3 (A = K, Rb, and Cs)