Robust passive autofocus system for mobile phone camera applications