The optimality equation in average cost denumerable state semi-Markov decision problems, recurrency conditions and algorithms