Problem-solving performance and reproductive success of great tits in urban and forest habitats