Powder diffraction methods for studies of borohydride-based energy storage materials