AutoEnv: Automated Environments for Measuring Cross-Environment Agent Learning