Thieves steal ATM after breaking into church