About half of Gen Z, Millennials say same-sex marriage is good for society