Burglar shoots at homeowner, escapes through patrol car window