Invariant Learning with Annotation-free Environments