A Royal Mail postman has been caught on camera kicking a family dog while making a delivery outside their Greater Manchester home.