Southend United appoint ex-Ipswich, Newcastle and England midfielder Kieron Dyer as their new head coach on an initial two-year contract.