Positive periodic solutions of second-order difference equations with weak singularities