Female candidates in recent UK General Elections were less likely to be retweeted than male candidates and less likely to receive media coverage, research shows.