Systematic investigation on topological properties of layered GaS and GaSe under strain