The star formation history of the LSB galaxy UGC 5889