Police: Wentzville church shooting was an accident