AC transport in correlated quantum dots: From Kondo to Coulomb blockade regime