Write a function to evaluate the performance of a classification model.
Implement evaluate_classification(y_true, y_pred) for binary labels represented by 0 and 1. Return a dictionary containing accuracy, precision, recall, and F1 score. When a metric has a zero denominator, return 0.0 for that metric.
The two input lists have equal, nonzero length.
def evaluate_classification(y_true, y_pred):