Minimum-energy wavelet frames generated by the Walsh polynomials