Police say gunmen ‘meticulously’ planned attack for several months and visited Bondi two days beforehand for reconnaissance