Periodic cusp wave solutions and single-solitons for the b-equation