Trendy: Segmented regression analysis of expression dynamics for high-throughput ordered profiling experiments