Finite quantum gravity in dS and AdS spacetimes