A solar energy harvesting circuit for low power applications