The spectral content of SDO/AIA 1600 and 1700 Å filters from flare and plage observations