Getting simultaneous red and near-infrared band data from a single digital camera for plant monitoring applications: theoretical and practical study