Wall St ends strong month on upbeat company earnings