Nesting strategy and the niche partitioning in two socially monogamous songbirds