Activist from Pussy Riot sentenced to 40 hours' community service