what is electricity and its two types