Costa Rica becomes first Central American country to legalize same-sex marriage