Does a phase transition in the early universe produce the conditions needed for inflation?