Trendy: segmented regression analysis of expression dynamics in high-throughput ordered profiling experiments