Motion of filaments with planar and helical bending waves in a viscous fluid