Broadband spectral analysis of MXB 1659-298 in its soft and hard state