validate_compatible_dataframes function

Validate that two data frames have compatible dimensions