Breeding success of ducks in relation to different habitat factors