One-dimensional quasistatic model of biodegradable elastic curved rods