Messages appear to show Buffalo supermarket shooting suspect's months of planning