Poland opens doors as refugee count hits a million