Formulas for recurrence coefficients of orthogonal polynomials related to Lorentzian-like weights