Endo Health to buy private generic drugs firm for $225 million