Molecular-orbital cluster calculations on MBa2Cu3O7 for M = Y, Pr, Nd, Ho and Cm