Coriolis effects on the elliptical instability in cylindrical and spherical rotating containers