Coast Guard lieutenant accused of planning terror attack ordered detained for now