Frankfurt attacker had psychiatric problems