Amar'e Stoudemire announces retirement from the NBA