Everton boss Roberto Martinez has confirmed club legend Duncan Ferguson is to join his first-team staff as a coach.