Gen Z and Millennials are more open about salary than older generations