Complexity and Heegaard genus of an infinite class of compact 3-manifolds