Samsung, LG improve smartphone cameras, turn to virtual reality