Singularities of a certain class of toric varieties