Tom Hanks named speaker at Harvard commencement