Electromagnetic structure of the hadrons