Structure and dynamics of liquid formamide