Social change, migration and pregnancy intervals