What are the two main methods to measure electric charge directly?