Former German lawmaker apologizes for possessing porn