Causality and a-theorem constraints on Ricci polynomial and Riemann cubic gravities | Synapse