Nest construction, ambient temperature and reproductive success in a cavity-nesting bird