Analytical model for a polymer optical fiber under dynamic bending