Observational constraints on oscillating dark-energy parametrizations