Donald Trump fires US attorney general over refusal to defend immigration orders as Barack Obama warns ‘American values’ are at stake