Spicy Baked Macaroni and Cheese with Ham