Guests arriving at the Aloft Hotel in Manhattan or one in Silicon Valley will soon be able to do something hotels have dreamed about offering for years: walk past the check-in desk and enter their rooms by using a smartphone as a room key.