BlackBerry and Nokia phones are coming back — with a twist