The National Gallery has revealed it will let a member of the public sleep overnight for the “first time” as the Sainsbury Wing reopens after a two-year refurbishment.