Adviser to Costa Rica's president resigns amid growing bribery scandal