A patient is prescribed penicillin for a gram-positive bacterial infection.What is the primary mechanism by which this antibiotic exerts its bactericidal effect?