Bounds For The Number Of Independent And Dominating Sets In Trees