Dynamics of shallow elastic arches. Part I: chaotic response of harmonically shaped arches