The second one is OK as an all-around bike. It's made out of cheapest components imaginable, and it must be heavy, but it will work. Given your height, you probably want the 54 cm version.
The first one is single speed. It will only work if you're on the east coast and there are no hills anywhere you want to go.