Apple researching if its devices can help detect depression