In the largest settlement involving a pharmaceutical company, the British drugmaker GlaxoSmithKline agreed to plead guilty to criminal charges and pay $3 billion in fines for promoting its best-selling antidepressants for unapproved uses and failing to report safety data about a top diabetes drug, federal prosecutors announced Monday. The agreement also includes civil penalties for improper marketing of a half-dozen other drugs.