President Obama on Monday turned to Massachusetts for his nominees to the nation’s top energy and environmental posts, tapping MIT physicist Ernest J. Moniz to lead the Department of Energy, and Boston-area native and former state environmental official Gina McCarthy as the next administrator of the Environmental Protection Agency.