Greaves stars as Scotland rattle Bangladesh