Polish scientist ‘planned Breivik-style massacre’