Electromagnetic properties of hadrons in a chiral constituent-quark model