AC Andromedae: the missing link between δ Scuti stars and classical Cepheids?