Superconnections, anomalies and non-BPS brane charges