A new generalized alpha function for a cubic equation of state Part 1. Peng-Robinson equation