Tunable band gap of graphyne-based homo- and hetero-structures by stacking sequences, strain and electric field.