AMENDED AND RESTATED CREDIT AGREEMENT Dated as of May 25, 2011 by and among NATIONAL RETAIL PROPERTIES, INC.,