QED in Finite Volume and Finite Size Scaling Effect on Electromagnetic Properties of Hadrons