Structure and dynamics of the essential endogenous mycobacterial polyketide synthase Pks13