Smartphone-enabled miniaturized analytical devices