A resonant photoemission model for nickel metal