Changes in gender role attitudes and fertility : a macro-level analysis