Essays on imperfect competition and taxation