Passivity analysis of discrete-time hybrid systems using piecewise polynomial storage functions