Effects of external strain on electronic and optical properties of β-SnSe: a first-principle study