Flood alerts have been issued for parts of Dorset and Hampshire as rising river levels raise concerns of possible flooding following heavy rainfall.