'How I Met Your Mother' will return for final season