Jihadist motivation in Munich attack, prosecutors say