The Opportunities and Risks of Foundation Models