A Flexible Model for Estimating Price Dynamics in Online Auctions