Ligand Pharmaceuticals posts 1Q profit, results beat Street expectations