A guide to paying taxes on bitcoin investments