3-Acetyl-5-acylpyridin-2(1H)-ones and 3-acetyl-7,8-dihydro-2,5(1H,6H)-quinolinediones: synthesis, cardiotonic activity and computational studies