Smartphone app may help measure levels of stress hormone