England ride on Moeen Ali’s ton to seize control of Day 1