Trade-offs between microbial growth phases lead to frequency-dependent and non-transitive selection