Photometry Results for the Globular Clusters M10 and M12: Extinction Maps, Color-Magnitude Diagrams, and Variable Star Candidates