Noise reduction in chaotic systems using unstable periodic orbits