The speed with which parliamentary by-elections take place could be preventing voters from taking part, the Electoral Commission has warned.