Model calculations of flux-tube nucleation in thin-film type I superconductors