Dehydration of solid hydrated peroxyborates to less hydrated or anhydrous products