Second-half goals from Alejandro Grimaldo and Jonas Hofmann secured a 3-0 win for Bayer Leverkusen over Mainz.