In-medium hadron properties measured with HADES