munich shooter planned attacks for a year, german authorities say