Small-cluster renormalization group in Ising and Blume-Emery-Griffiths models with ferromagnetic, antiferromagnetic, and quenched disordered magnetic interactions