Avalanche Photodiodes: A User's Guide