Reactive spray formation of coatings and powders