Surface and size effects on the mechanical response of plates with a view to porous materials