Relationship between demographic and genetic population size and role of the environment in a stream fish