Theoretical investigations on the stability and electronic structures of two-dimensional group-IV ternary alloy monolayers