Gravitational waves from quasicircular extreme mass-ratio inspirals as probes of scalar-tensor theories