Local order and structure in Mn substituted manganites studied by EXAFS