An Adaptive Fictitious Domain Method for Elliptic Problems