In Berlin, Obama will invoke JFK, Reagan to push climate change