Effect of temperature on self-assembly of an ionic tetrapeptide