Substrate reconstruction and electronic surface states: Ag(001)