A burglar who broke into a home in Poole while the occupants slept has been jailed for 27 months.