Regularity and algebraic properties of certain lattice ideals