Is a credit card safer than a debit card for online shopping? Compare fraud protection, risks and best practices for each.