Regularity in elliptic free boundary problems I