German police investigating hostage situation as possible terror attack