US president and first lady pay respects to queen